package com.road.vast.pojo.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限API
 * </p>
 *
 * @author 郭泽鹏
 * @since 2020-07-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PePermissionApi对象", description="权限API")
public class PePermissionApi implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
      @TableId(value = "id", type = IdType.ID_WORKER)
    private String id;

    @ApiModelProperty(value = "链接")
    private String apiUrl;

    @ApiModelProperty(value = "请求类型")
    private String apiMethod;

    @ApiModelProperty(value = "权限等级，1为通用接口权限，2为需校验接口权限")
    private String apiLevel;


}
